Skip to main content

PushAllTask

Description

No description for this api.

Request Method

POST

Request Path

/apsara/route/aegis/PushAllTask

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TasksBODYstringNoNo sample value for this parameter.Security check task list, value range: OVAL_ENTITY: indicates that all security check tasks are performed CMS: indicates detection of CMS vulnerabilities SYSVUL: indicates detection of system software vulnerabilities HEALTH_CHECK: indicates that baseline check is performed WEBSHELL: indicates to detect the backdoor of the website PROC_SNAPSHOT: indicates detection process data PORT_SNAPSHOT: indicates detection port data ACCOUNT_SNAPSHOT: indicates detection account data SOFTWARE_SNAPSHOT: indicates detection of application data
regionIdBODYstringYesNo sample value for this parameter.region id
UuidsBODYstringNoNo sample value for this parameter.host asset UUID, specifying multiple host asset UUIDs separated.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.
Messagestringno demo valuedetails of task delivery results.
InstanceIdstringno demo valuehost instance ID.
Ipstringno demo valuehost asset IP.
OsVersionstringno demo valueoperating system version.
PushTaskRspstructno demo valueThe result of the task. For specific sub-items, see the following parameter description.
Successstringno demo valueThe result of the task.
GroupIdstringno demo valueasset group ID.
InstanceNamestringno demo valuehost instance name.
PushTaskResultListarrayno demo valuesend the list of failed tasks. for specific sub-items, see the following parameter description.
Uuidstringno demo valuehost asset UUID.
Regionstringno demo valuethe region of the host.
Onlinestringno demo valueWhether the Server Knight client is online.

Example

Successful Response example

{
"RequestId":"no demo value",
"Message":"no demo value",
"InstanceId":"no demo value",
"Ip":"no demo value",
"OsVersion":"no demo value",
"PushTaskRsp":"no demo value",
"Success":"no demo value",
"GroupId":"no demo value",
"InstanceName":"no demo value",
"PushTaskResultList":"no demo value",
"Uuid":"no demo value",
"Region":"no demo value",
"Online":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}